<%@ page language="java" import="java.util.* " pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<%
request.setCharacterEncoding("UTF-8");
%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<script language="javascript">
	function mycheck() {
		if (myform.title.value == "") {
			alert("项目名称不能为空！！");
			myform.title.focus();
			return false;
		}
		
	}
</script>
<script language="javascript">
	alert(request.getParameter("achievement.id"));
</script>

  <head>
    
    <title>添加项目</title>
       <link href="/bestcleaner/js/tablecloth/tablecloth.css" rel="stylesheet" type="text/css" media="screen" />
	<script type="text/javascript" src="/bestcleaner/js/tablecloth/tablecloth.js"></script>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
	<style>

body{
	margin:0;
	padding:0;
	background:#f1f1f1;
	font:70% Arial, Helvetica, sans-serif; 
	color:#555;
	line-height:150%;
	text-align:left;
}
a{
	text-decoration:none;
	color:#057fac;
}
a:hover{
	text-decoration:none;
	color:#999;
}
h1{
	font-size:140%;
	margin:0 20px;
	line-height:80px;	
}
h2{
	font-size:120%;
}
#container{
	margin:0 auto;
	width:1000px;
	background:#fff;
	padding-bottom:20px;
}
#content{margin:0 20px;}
p.sig{	
	margin:0 auto;
	width:680px;
	padding:1em 0;
}
form{
	margin:1em 0;
	padding:.2em 20px;
	background:#eee;
}
</style>
  </head>
  <body >
    <s:form action="modifyachievement" method="post" name="myform">
      <div id="content">
  <table width="80%" align="center" border="1px">
  <tr>
  <td width="100px" align="left" ><b>编号</b></td>
  <td ><s:textfield name="achievement.id" readonly="true" cssStyle="size:10px; width:45px;height:30px border:hidden;" /></td></tr>
  <tr>
  <td width="100px"align="left"><b>项目名称</b></td>
  <td><s:textfield name="achievement.item"   cssStyle=" size:10px; width:245px;height:60px"/></td></tr>
  <tr>
  <td width="100px"align="left"><B>工程名称</B></td>
     <td><s:textfield name="achievement.projectname" cssStyle="border:hidden; size:10px; width:245px;height:60px" /></td>
  </tr>
  <tr>
  <td width="100px"align="left"><B>规模</B></td>
     <td><s:textfield name="achievement.size" cssStyle="border:hidden; size:10px; width:245px;height:60px"/></td>
  </tr>
    <tr>
  <td width="100px"align="left"><B>时间</B></td>
     <td><s:textfield name="achievement.time" cssStyle="border:hidden; size:10px; width:245px;height:60px"/></td>
  </tr>
  <tr>
  <td width="100px"align="left"><B>烟气处理方法</B></td>
     <td><s:textfield name="achievement.method" cssStyle="border:hidden; size:10px; width:245px;height:60px"/></td>
  </tr>
  <tr>
  <td width="100px"align="left"><B>技术指标</B></td>
     <td><s:textfield name="achievement.technology" cssStyle="border:hidden; size:10px; width:245px;height:60px"/></td>
  </tr>
  <tr>
  <td width="100px"align="left"><B>工程承接形式</B></td>
     <td><s:textfield name="achievement.shape" cssStyle="border:hidden; size:10px; width:245px;height:60px"/></td>
  </tr>

  <tr>
				<td></td>
				<td colspan="2"><input name="Submit" type="Submit" value="提交" onClick="return mycheck();"/></td>
			</tr>
			<tr>
				<td colspan="2" align="center"><a href="showallachievement">返回</a></td>
			</tr>
  </table>
  </div>
  </s:form>
  </body>
</html>
